package com.hhs.storage.bean;

import lombok.Data;

/**
 * @author: HuangHaiShui
 * @description: 待办工作台 预警对象
 * @date: 2022/12/12 14:46
 * @version: 1.0
 */
@Data
public class EarlyWarn {
    //业务员角色 合同被驳回
    public static Integer TYPE_CONTRACT_YWYRETURN=1;
    //业务员角色 合同到期
    public static Integer TYPE_CONTRACT_EXP=2;
    //业务员角色 临时合同
    public static Integer TYPE_CONTRACT_TEMP=3;
    //经理角色 合同初审
    public static Integer TYPE_CHECK=4;
    //总经理角色 合同终审
    public static Integer TYPE_CHECK_FINAL=5;
    //预警类型
    private Integer type;
    //预警数据数量
    private Integer total;
    //路由跳转path
    private String routerPath;

    private Object data;

    public EarlyWarn() {
    }

    public EarlyWarn(Integer type, Integer total, String routerPath) {
        this.type = type;
        this.total = total;
        this.routerPath = routerPath;
    }

    public EarlyWarn(Integer type, Integer total, String routerPath, Object data) {
        this.type = type;
        this.total = total;
        this.routerPath = routerPath;
        this.data = data;
    }
}
